home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group93b.txt / 000081_icon-group-sender _Mon May 10 18:16:58 1993.msg < prev    next >
Internet Message Format  |  1993-06-16  |  2KB

  1. Received: by cheltenham.cs.arizona.edu; Tue, 11 May 1993 18:40:11 MST
  2. Date: 10 May 93 18:16:58 GMT
  3. From: dog.ee.lbl.gov!network.ucsd.edu!usc!howland.reston.ans.net!ux1.cso.uiuc.edu!uchinews!ellis!goer@ucbvax.Berkeley.EDU  (Richard L. Goerwitz)
  4. Organization: University of Chicago
  5. Subject: Re: runtime debugger and the Icon fan club.
  6. Message-Id: <1993May10.181658.3966@midway.uchicago.edu>
  7. References: <1993May7.182643.26824@netlabs.com>, <1993May7.205551.1831@midway.uchicago.edu>, <1993May10.160302.6574@netlabs.com>
  8. Sender: icon-group-request@cs.arizona.edu
  9. To: icon-group@cs.arizona.edu
  10. Status: RO
  11. Errors-To: icon-group-errors@cs.arizona.edu
  12.  
  13. lwall@netlabs.com (Larry Wall) writes:
  14. >
  15. >Hmm, looking back at that last paragraph I wrote, I only see one period
  16. >at the end of a line, and that one, being at the end of a paragraph, is
  17. >superfluous...  :-)
  18.  
  19. But your sentences don't generally coincide with the end of a line.  If
  20. they did, then you might dispense with the period as a mandatory sentence-
  21. marker.
  22.  
  23. The implementation of the Icon tokenizer is a curious, but conceptually
  24. very simple piece of work.  Tokens are classified as beginners or enders
  25. or neither.  If a line ends with an ender, and the next line begins with
  26. a beginner, a newline is emitted.  I've written countless lines of Icon
  27. code by now, and a good deal of C as well.  Both systems have their good
  28. points and their bad points, I guess.  The bottom line is that the auto-
  29. matic insertion regime is much more pleasing and much simpler to imple-
  30. ment than is usually supposed.
  31.  
  32. Try it on for size for a while.  I'll bet you'll see some redeeming fea-
  33. tures.  If most semicolons coincide with line breaks, and if continued
  34. expressions are best written so that each line ends in something that
  35. obviously requires a continuation, then there is (in point of fact) not
  36. much need for semicolons.
  37.  
  38. -- 
  39.  
  40.    -Richard L. Goerwitz              goer%midway@uchicago.bitnet
  41.    goer@midway.uchicago.edu          rutgers!oddjob!ellis!goer
  42.  
  43.